//
//  PMRotaryLimitJoint.h
//  PezMonkey
//
//  Created by Spence DiNicolantonio on 12/30/09.
//  Copyright 2009 Necrosoft. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "PMCore.h"
#import "PMConstraint.h"


@interface PMRotaryLimitJoint : PMConstraint {

}

// Property definitions of getters/setters for data members stored by backend 
// Chipmunk structure. These properties are not synthesized, because their 
// implementations are given explicitly.
@property (assign) PMRange limit;


#pragma mark -
#pragma mark Init
- (id)initWithBodyA:(PMBody *)aBody bodyB:(PMBody *)otherBody limit:(PMRange)limit;

#pragma mark Convenience
+ (PMRotaryLimitJoint *)rotaryLimitJointWithBodyA:(PMBody *)aBody bodyB:(PMBody *)otherBody limit:(PMRange)limit;

@end
